package cn.mldn.microboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * description:
 * Created by gy on 2017/8/13.
 */
@Controller
public class ViewContorller {

    @RequestMapping(value = "/show",method = RequestMethod.GET)
    public String index(String mid,Model model){
        model.addAttribute("url","www.mldn.cn");
        model.addAttribute("mid",mid);
        return "message/message_show";
    }
}
